package com.example.jasonrpc.registry;

import java.util.List;

/**
 * 注册中心-服务端
 */
public interface RegistryCenter {
    void register(RegistryDirectory directory);

    void registerAll(List<RegistryDirectory> directories);

    void unregister(RegistryDirectory directory);

    void unregisterAll(List<RegistryDirectory> directories);
}
